package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * 【请填写功能名称】对象 tmc_user_formid
 *
 * @author ruoyi
 * @date 2021-04-07
 */
public class TmcUserFormid extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private int publicuserId;

    /** 类型。0聊天表单，1其他 */
    @Excel(name = "类型。0聊天表单，1其他")
    private int formtype;

    /** 表单ID */
    @Excel(name = "表单ID")
    private String formid;

    /** 表单ID */
    @Excel(name = "创建时间")
    private Date createtime;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPublicuserId(int publicuserId)
    {
        this.publicuserId = publicuserId;
    }

    public int getPublicuserId()
    {
        return publicuserId;
    }
    public void setFormtype(int formtype)
    {
        this.formtype = formtype;
    }

    public int getFormtype()
    {
        return formtype;
    }
    public void setFormid(String formid)
    {
        this.formid = formid;
    }

    public String getFormid()
    {
        return formid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("publicuserId", getPublicuserId())
                .append("formtype", getFormtype())
                .append("formid", getFormid())
                .append("createtime", getCreatetime())
                .toString();
    }
}
